package com.sls.mall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lixue
 * @Title: Catelog2VO
 * @ProjectName sls_mall2021
 * @Description: TODO
 * @date 2021/5/216:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2VO {

    private String catalog1Id;  // 一级父分类id

    private List<Catelog3VO> catalog3List; // 三级子分类

    private String id;

    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3VO
    {
        private String catalog2Id;  // 一级父分类id

        private String id;

        private String name;
    }
}
